* {
    box-sizing: border-box;
    margin: 0;
}

body {
    background: #fff;
    color: #fff;
    font-size: .28rem;
}

#app {
    width: 7.5rem;
    margin: 0 auto;
}

#app.index {
    background: url(../images/index_bg.png) center / cover;
}

a {
    color: #fff;
    text-decoration: none;
}

.fixed-wrap {
    width: 7.5rem;
    height: 1.04rem;
    background: rgba(0, 0, 0, .5);
    position: fixed;
    z-index: 999;
    top: 0;
    a {
        width: 1.7rem;
        height: .56rem;
        background :rgba(243, 159, 29, 1);
        border-radius: .28rem;
        display: block;
        position: absolute;
        right: .4rem;
        top: .24rem;
        text-align: center;
        line-height: .56rem;
    }
    .logo {
        position: absolute;
        left: .4rem;
        top: .14rem;
        display: flex;
        align-items: center;
        img {
            width: .76rem;
            height: .76rem;
            margin-right: .16rem;
        }
        p:nth-child(1) {
            font-size: .32rem;
        }
        p:nth-child(2) {
            font-size: .2rem;
        }
    }
}

.fixed-wrap.yellow {
    background: linear-gradient(359deg, rgba(255, 203, 0, 1) 0%, rgba(247, 197, 69, 1) 100%);
    a {
        background: #FE7E01;
    }
    p {
        color: #3B1E05;
    }
}

.title {
    padding: 1.4rem .26rem 0;
    display: flex;
    align-items: center;
    img {
        width: .92rem;
        height: .92rem;
        border-radius: 50%;
        margin-right: .16rem;
    }
    p {
        line-height: .4rem;
    }
}

.play {
    background: url(../images/play_bottom.png) no-repeat center bottom / 4.88rem .78rem;
    height: 4.98rem;
    margin: .56rem auto .48rem;
    .border {
        width: 3.6rem;
        height: 4.16rem;
        border-radius: .3rem;
        border: .1rem solid rgba(255, 255, 255, .75);
        overflow: hidden;
        margin: 0 auto;
        .pic {
            height: 100%;
            position: relative;
        }
        .btn {
            width: 1.12rem;
            height: 1.12rem;
            background: url(../images/play_btn.png) center / 100% 100%;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }
    }
}

.free-collection {
    width: 5.9rem;
    height: .86rem;
    display: block;
    background: url(../images/free_collection.png) center / 100% 100%;
    margin: 0 auto;
}

.book-list {
    padding: .28rem .42rem .3rem;
    .tit {
        width: 3.8rem;
        height: .76rem;
        margin: 0 auto;
        background: url(../images/index_title.png) center / 100% 100%;
    }
    .list {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        padding-top: .04rem;
        a {
            width: 1.94rem;
            height: 2.22rem;
            margin-top: .36rem;
            border-radius: .15rem;
            overflow: hidden;
            img {
                width: 100%;
                height: 100%;
            }
        }
    }
    .read-more {
        width: 2.12rem;
        height: .64rem;
        display: block;
        background: url(../images/read_more.png) center / 100% 100%;
        margin: .3rem auto 0;
    }
}

.playing {
    width: 6.4rem;
    height: 100vh;
    padding-top: 1.2rem;
    margin: 0 auto;
    .swiper-container {
        height: 100%;
    }
    .swiper-wrapper {
        height: auto;
    }
    .swiper-pagination-fraction {
        position: static;
        width: .92rem;
        margin: 0 auto .14rem;
        font-size: .24rem;
        color: #000;
        height: .38rem;
        line-height: .38rem;
        border-radius: .19rem;
        background: rgba(17,17,17,0.2);
    }
    .swiper-slide {
        div {
            height: 3.6rem;
            border-radius: .22rem;
        }
        p {
            font-size: .36rem;
            color: #000;
            margin-top: .2rem;
            text-align: center;
        }
    }
    .voice, .hand-play {
        width: 1.12rem;
        height: 1.12rem;
        background-position: center;
        background-size: 100% 100%;
        margin: 1.1rem auto 0;
    }
    .voice {
        background-image: url(../images/voice.png);
    }
    .hand-play {
        background-image: url(../images/play.png);
    }
}

.free-collection2 {
    width: 6.4rem;
    height: .84rem;
    display: block;
    background: url(../images/free_collection2.png) center / 100% 100%;
    position: fixed;
    z-index: 1;
    bottom: .5rem;
    left: 50%;
    transform: translateX(-50%);
}

#app.collection {
    background: url(../images/collection_bg.png) center -1.28rem / cover;
    padding-bottom: .4rem;
    overflow: hidden;
}

.pic-list {
    background: url(../images/collection_piclist.png) center / 100% 100%;
    width: 6.9rem;
    height: 10.02rem;
    margin: 0 auto;
}

.form-box {
    width: 6.9rem;
    margin: 4.06rem auto .5rem;
    background: rgba(255, 255, 255, .5);
    border: .1rem solid transparent;
    overflow: hidden;
    border-radius: .3rem;
    color: #000;
    form {
        padding: .5rem .4rem;
        background: #fff;
        .form-group {
            margin-bottom: .4rem;
            display: flex;
            justify-content: space-between;
            position: relative;
            input::placeholder {
                color: rgba(0, 0, 0, .25);
            }
            input, .input {
                border: 1px solid #000;
                width: 100%;
                height: .72rem;
                white-space: nowrap;
                line-height: .7rem;
                border-radius: .36rem;
                box-shadow: 0 .02rem .06rem 0 rgba(233, 233, 233, .5);
                border: 1px solid rgba(0, 0, 0, .1);
                padding: 0 .2rem;
                outline: none;
                appearance: none;
                div {
                    overflow: hidden;
                }
            }
            a {
                width: 2.42rem;
                height: .72rem;
                border-radius: .36rem;
                border: 1px solid #FFAE00;
                font-size: .32rem;
                color: #FFAE00;
                text-align: center;
                line-height: .7rem;
            }
        }
        .form-group:first-child > div:nth-child(2) {
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
        }
    }
    .success {
        background: #fff;
        height: 2.88rem;
        text-align: center;
        img {
            width: 1.08rem;
            margin-top: .3rem;
        }
        p:nth-of-type(1) {
            font-size: .36rem;
            line-height: .8rem;
        }
        p:nth-of-type(2) {
            color: #909090;
            font-size: .24rem;
        }
    }
    .applied {
        background: #fff;
        height: 2.28rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}